﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BarcodeFormatEdit.aspx.cs" Inherits="AMS.Web.BaseData.BarcodeFormatEdit" %>

<%@ Register Assembly="ZLTextBox" Namespace="BaseText" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../App_Themes/Default/Table.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/Text.css" type="text/css" rel="stylesheet" />
    <link href="../ScriptFiles/CSS/Main.css" type="text/css" rel="stylesheet"/>
    <script type="text/javascript">
        function Check() {
            var prefix = document.getElementById("ZLTextBox_Prefix");
            if (prefix.value.length > 6) {
                alert("前缀不能超过6位字符");
                return false;
            }
           return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
            <div>
                <table style="border: 1px solid #A8CFEB; background-color: #F1F6FF; margin-top: 4px;width:100%">
                    <tr>
                        <td colspan="3" >
                            <font style="color: Black">您当前的位置：&nbsp;<img src="../Images/navigate.gif" alt="" />&nbsp;
                                           基本信息管理&nbsp;<img src="../Images/navigate.gif" alt="" />&nbsp;
                                           标签格式设置&nbsp;<img src="../Images/navigate.gif" alt="" />&nbsp;
                                           <a href="BarcodeFormatSet.aspx">标签格式列表</a>&nbsp;<img src="../Images/navigate.gif" alt="" />&nbsp;
                                           标签格式编辑</font>
                        </td>
                    </tr>
                </table>
                <br />
                <table style="border: 1px solid #A8CFEB;width:100%">
                    <tr>
                        
                        <td  style="text-align: right; width: 180px; height: 30px" class="tableBg1">
                            <asp:Label ID="Label2" runat="server" Font-Size="12px" Text="资&nbsp;&nbsp;产&nbsp;&nbsp;类&nbsp;&nbsp;型："></asp:Label>
                        </td>
                        <td  style="text-align: left">
                             <asp:DropDownList ID="ddlAssetTypeNameList" runat="server" Width="153px" 
                                 Height="16px">
                             <asp:ListItem Text="----请选择----" Value=""></asp:ListItem>
                              <asp:ListItem Text="主资产" Value="MainAsset" ></asp:ListItem>
                                <asp:ListItem Text="低值易耗品" Value="LowValueAsset"></asp:ListItem>
                                  <asp:ListItem Text="备品备件" Value="StorageAsset"></asp:ListItem>
                                    <asp:ListItem Text="依附性资产" Value="SubAsset"></asp:ListItem>
                             </asp:DropDownList>
                              <asp:RequiredFieldValidator ID="RequiredFieldValidator_TypeNameList" runat="server"
                             Display="Dynamic" ControlToValidate="ddlAssetTypeNameList" ErrorMessage="*请选择"></asp:RequiredFieldValidator>
                         </td>
                    </tr>
                    <tr>
                         
                        <td  style="text-align: right; width: 180px; height: 30px" class="tableBg1">
                            <asp:Label ID="Label1" runat="server" Font-Size="12px" Text="前&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;缀："></asp:Label>
                        </td>
                        <td style="text-align: left">
                            <cc1:ZLTextBox ID="ZLTextBox_Prefix" runat="server" InputType="varchars" onblurCssName="textBase"
                                onfocusCssName="textBaseFocus" CssClass="textBase" MaxLength="8" Height="16px"
                                Width="143px"></cc1:ZLTextBox>
                         <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
                                Display="Dynamic" ControlToValidate="ZLTextBox_Prefix" ErrorMessage="*不能为空"></asp:RequiredFieldValidator>
                    
                        </td>
                    </tr>
                    <tr>
                       
                        <td  style="text-align: right; width: 180px; height: 30px" class="tableBg1">
                            <asp:Label ID="Label8" runat="server" Font-Size="12px" Text="是否启用日期："></asp:Label>
                        </td>
                        <td  style="text-align: left">
                          <asp:DropDownList ID="ddlIsEnableDate" runat="server" Width="153px" Height="16px">
                              <asp:ListItem Text="----请选择----" Value="" ></asp:ListItem>
                              <asp:ListItem Text="是" Value="true" ></asp:ListItem>
                                <asp:ListItem Text="否" Value="false"></asp:ListItem>
                              </asp:DropDownList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
                                Display="Dynamic" ControlToValidate="ddlIsEnableDate" ErrorMessage="*请选择"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                     
                        <td class="tableBg1" style="text-align: right; width: 80px; height: 30px">
                        </td>
                        <td  align="left"> 
                           <asp:Button  runat="server" ID="btnSubmit" class="btn_mouseout"  
                                onmouseover="this.className= 'btn_mouseover ' " onmouseout="this.className= 'btn_mouseout ' "
                                onmousedown="this.className= 'btn_mousedown '" 
                                onmouseup="this.className= 'btn_mouseup '"
                               Text="提交" onclick="btnSubmit_Click"  /> &nbsp;
                        <asp:Button runat="server" ID="btnCancel" class="btn_mouseout"
                                onmouseover="this.className= 'btn_mouseover ' " onmouseout="this.className= 'btn_mouseout ' "
                                onmousedown="this.className= 'btn_mousedown '" 
                                onmouseup="this.className= 'btn_mouseup '"
                Text="返回" CausesValidation="false" onclick="btnCancel_Click" />
                        </td>
                    </tr>
                </table>
            </div>
         </div>
         <asp:Label ID="labelId" runat="server" Visible="false"></asp:Label>
   
    </form>
</body>
</html>
